package com.ruoyi.system.domain;

import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

import java.math.BigDecimal;

/**
 * 荣誉数据对象 glory_data
 *
 * @author 王清江
 * @date 2021-01-29
 */
public class GloryData extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 荣誉编码 */
    private Long gloryId;

    /** 荣誉排序 */
    @Excel(name = "荣誉排序")
    private Integer glorySort;

    /** 荣誉标签 */
    @Excel(name = "荣誉标签")
    private String gloryLabel;

    /** 荣誉键值 */
    @Excel(name = "荣誉键值")
    private String gloryValue;

    /** 公章所在单位 */
    @Excel(name = "公章所在单位")
    private String gloryFrom;

    /** 荣誉分数 */
    @Excel(name = "荣誉分数")
    private BigDecimal gloryGrade;

    /** 荣誉类型ID */
    @Excel(name = "荣誉类型ID")
    private Long gloryTypeId;

    /** 样式属性 */
    @Excel(name = "样式属性")
    private String cssClass;

    /** 表格回显样式 */
    @Excel(name = "表格回显样式")
    private String listClass;

    /** 是否默认（Y是 N否） */
    @Excel(name = "是否默认", readConverterExp = "Y=是,N=否")
    private String isDefault;

    /** 状态（0正常 1停用） */
    @Excel(name = "状态", readConverterExp = "0=正常,1=停用")
    private String status;

    public void setGloryId(Long gloryId)
    {
        this.gloryId = gloryId;
    }

    public Long getGloryId()
    {
        return gloryId;
    }
    public void setGlorySort(Integer glorySort)
    {
        this.glorySort = glorySort;
    }

    public Integer getGlorySort()
    {
        return glorySort;
    }
    public void setGloryLabel(String gloryLabel)
    {
        this.gloryLabel = gloryLabel;
    }

    public String getGloryLabel()
    {
        return gloryLabel;
    }
    public void setGloryValue(String gloryValue)
    {
        this.gloryValue = gloryValue;
    }

    public String getGloryValue()
    {
        return gloryValue;
    }
    public void setGloryFrom(String gloryFrom)
    {
        this.gloryFrom = gloryFrom;
    }

    public String getGloryFrom()
    {
        return gloryFrom;
    }
    public void setGloryGrade(BigDecimal gloryGrade)
    {
        this.gloryGrade = gloryGrade;
    }

    public BigDecimal getGloryGrade()
    {
        return gloryGrade;
    }
    public void setGloryTypeId(Long gloryTypeId)
    {
        this.gloryTypeId = gloryTypeId;
    }

    public Long getGloryTypeId()
    {
        return gloryTypeId;
    }
    public void setCssClass(String cssClass)
    {
        this.cssClass = cssClass;
    }

    public String getCssClass()
    {
        return cssClass;
    }
    public void setListClass(String listClass)
    {
        this.listClass = listClass;
    }

    public String getListClass()
    {
        return listClass;
    }
    public void setIsDefault(String isDefault)
    {
        this.isDefault = isDefault;
    }

    public String getIsDefault()
    {
        return isDefault;
    }
    public void setStatus(String status)
    {
        this.status = status;
    }

    public String getStatus()
    {
        return status;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("gloryId", getGloryId())
            .append("glorySort", getGlorySort())
            .append("gloryLabel", getGloryLabel())
            .append("gloryValue", getGloryValue())
            .append("gloryFrom", getGloryFrom())
            .append("gloryGrade", getGloryGrade())
            .append("gloryTypeId", getGloryTypeId())
            .append("cssClass", getCssClass())
            .append("listClass", getListClass())
            .append("isDefault", getIsDefault())
            .append("status", getStatus())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .append("remark", getRemark())
            .toString();
    }
}
